<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="mainMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>用户资质</title>
<script type="text/javascript"
	src="<c:url value='/ext/ui/jquery-ui-1.8.12.custom.min.js'/>"></script>
<link href="${ctx}/styles/lightness/jquery-ui-1.8.12.custom.css"
	rel="stylesheet" />
<script type="text/javascript">
	$(document).ready(function(){
		$("#adduserqua").click(
				function() {
					//window.location.href = "userqualification!input.action?deptId=${param.deptId}&projectId=${param.projectId}&typeId=${param.typeId}&organizationId=${param.organizationId}&userdeptId=${param.userdeptId}&userId=${param.userId}";
					
					$("#adda")[0].click();
				});
	});
</script>
</head>
<body>
<form action="user_department.action" method="post" class="yform"
	id="mainForm">
<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<ul
	class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all ui-sortable">
	<li><a id="build"
		class="ui-state-default ui-corner-top "
		href="${ctx}/project/sign/org/user!input.action?id=${param.userId}&deptId=${deptId}&projectId=${projectId}&typeId=${typeId}&organizationId=${organizationId}&userdeptId=${param.userdeptId}">人员信息</a></li>
	<li><a id="design" class="ui-state-default ui-corner-top  "
		href="${ctx}/project/sign/org/userdepartment!input.action?deptId=${deptId}&projectId=${projectId}&typeId=${typeId}&organizationId=${organizationId}&id=${param.userdeptId}">部门信息</a></li>
	<li><a id="userQua" class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"
		href="#">人员资质</a></li>
</ul>
<div>
<table>
	<tr>
		<th>用户姓名</th>
		<th>技术职称</th>
		<th>发证机关</th>
		<th>发证日期</th>
		<th>操作</th>
	</tr>
	<c:forEach items="${userQuaList}" var="userQua">
		<tr>
			<td>${userQua.user.name}</td>
			<td>${userQua.code}</td>
			<td>${userQua.certificate}</td>
			<td>${userQua.certificateDate}</td>
			<td>
				<a href="userqualification!input.action?deptId=${deptId}&projectId=${projectId}&typeId=${typeId}&organizationId=${organizationId}&userdeptId=${userdeptId}&userId=${userId}&id=${userQua.id}">修改</a>
				<a href="userqualification!delete.action?deptId=${deptId}&projectId=${projectId}&typeId=${typeId}&organizationId=${organizationId}&userdeptId=${userdeptId}&userId=${userId}&id=${userQua.id}">删除</a>
			</td>
		</tr>
	</c:forEach>
</table>
<div class="type-button"><a id="adda" href="userqualification!input.action?deptId=${param.deptId}&projectId=${param.projectId}&typeId=${param.typeId}&organizationId=${param.organizationId}&userdeptId=${param.userdeptId}&userId=${param.userId}"></a><input id="adduserqua"
	 type="button" class="submit" value="新增" /> 
	<input id="cloBtn"  type="button"   value="关闭" class="reset" onclick="window.close();" />
</div>
</div>
</div>
</form>
</body>
</html>